<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<import type="css" basepath="__CSS__" file="admin" />
<import type="js" basepath="__JS__/highcharts" file="jquery" />

</head>

<body>
<include file="Inc/head" />
<div class="box">
<div class="content">
    <if condition="$m_id eq 1">
        <ul class="numbs">
            <li><a href="{:U('NewsConfig/index')}" title="信息管理">信息管理<span>{$circle.news}<font>条</font></span></a></li>
            <li><a href="{:U('Product/index')}" title="产品管理">产品管理<span>{$circle.product}<font>条</font></span></a></li>
            <!--<li><a href="{:U('Msg/index?sh_status=0')}" title="在线订房">在线订房<span>{$circle.msg}<font>条</font></span></a></li>-->
            <li><a href="{:U('Common/index')}" title="单页管理">单页管理<span>{$circle.common}<font>条</font></span></a></li>
            <li><a href="{:U('Member/index')}" title="会员管理">会员管理<span>{$circle.member}<font>条</font></span></a></li>
<!--            <li><a href="{:U('AtmClass/index')}" title="广告管理">广告管理<span>{$circle.atm}<font>条</font></span></a></li>
            <li><a href="{:U('Link/index')}" title="友情链接">友情链接<span>{$circle.link}<font>条</font></span></a></li>
            <li><a href="{:U('ShopProductOrder/index')}" title="订单管理">订单管理<span>{$circle.order}<font>条</font></span></a></li>-->
        </ul>
        <canvas class="process process1" width="124px" height="124px"></canvas>
        <canvas class="process process2" width="124px" height="124px"></canvas>
        <!--<canvas class="process process3" width="124px" height="124px"></canvas>-->
        <canvas class="process process4" width="124px" height="124px"></canvas>
        <canvas class="process process5" width="124px" height="124px"></canvas>
<!--        <canvas class="process process6" width="124px" height="124px"></canvas>
        <canvas class="process process7" width="124px" height="124px"></canvas>
        <canvas class="process process8" width="124px" height="124px"></canvas>-->
    <else />
         <ul class="numbs">
           <in name="userKeys[0]" value="{$group_keys}">
            <li><a href="{:U('NewsConfig/index')}" title="信息管理">信息管理<span>{$circle.news}<font>条</font></span></a></li>
           </in> 
           <in name="userKeys[1]" value="{$group_keys}">
            <li><a href="{:U('Product/index')}" title="产品管理">产品管理<span>{$circle.product}<font>条</font></span></a></li>
           </in>
           <in name="userKeys[2]" value="{$group_keys}">
            <li><a href="{:U('ShopProduct/index')}" title="商品管理">商品管理<span>{$circle.product}<font>条</font></span></a></li>
           </in> 
<!--           <in name="userKeys[3]" value="{$group_keys}">
            <li><a href="{:U('Msg/index?sh_status=0')}" title="在线订房">在线订房<span>{$circle.msg}<font>条</font></span></a></li>
           </in> -->
           <in name="userKeys[4]" value="{$group_keys}">
            <li><a href="{:U('Common/index')}" title="单页管理">单页管理<span>{$circle.common}<font>条</font></span></a></li>
           </in>  
           <in name="userKeys[5]" value="{$group_keys}">
            <li><a href="{:U('Member/index')}" title="会员管理">会员管理<span>{$circle.member}<font>条</font></span></a></li>
           </in> 
<!--           <in name="userKeys[6]" value="{$group_keys}"> 
            <li><a href="{:U('AtmClass/index')}" title="广告管理">广告管理<span>{$circle.atm}<font>条</font></span></a></li>
           </in>
           <in name="userKeys[7]" value="{$group_keys}"> 
            <li><a href="{:U('Link/index')}" title="友情链接">友情链接<span>{$circle.link}<font>条</font></span></a></li>
           </in>
           <in name="userKeys[8]" value="{$group_keys}"> 
         	  <li><a href="{:U('ShopProductOrder/index')}" title="订单管理">订单管理<span>{$circle.order}<font>条</font></span></a></li>
           </in>-->
            </ul>
            

           <in name="userKeys[0]" value="{$group_keys}">
            <canvas class="process process1" width="124px" height="124px"></canvas>
           </in> 
           <in name="userKeys[1]" value="{$group_keys}">
            <canvas class="process process2" width="124px" height="124px"></canvas>
           </in>
           <in name="userKeys[2]" value="{$group_keys}">
            <canvas class="process process2" width="124px" height="124px"></canvas>
           </in> 
<!--           <in name="userKeys[3]" value="{$group_keys}">
            <canvas class="process process3" width="124px" height="124px"></canvas>
           </in> -->
           <in name="userKeys[4]" value="{$group_keys}">
            <canvas class="process process4" width="124px" height="124px"></canvas>
           </in>  
           <in name="userKeys[5]" value="{$group_keys}">
            <canvas class="process process5" width="124px" height="124px"></canvas>
           </in> 
<!--           <in name="userKeys[6]" value="{$group_keys}"> 
            <canvas class="process process6" width="124px" height="124px"></canvas>
           </in>
           <in name="userKeys[7]" value="{$group_keys}"> 
            <canvas class="process process7" width="124px" height="124px"></canvas>
           </in>
           <in name="userKeys[8]" value="{$group_keys}"> 
         	  <canvas class="process process8" width="124px" height="124px"></canvas>
           </in> -->           
            
            
            
            <in name="shopManage" value="{$group_keys}"><canvas class="process process8" width="124px" height="124px"></canvas></in>
    </if>    
   

  
</div>


<div class="content1"><div class="shuju f1">快捷操作</div>
    <ul class="numbs2">
<if condition="$m_id eq 1">    
    <foreach name="subNav" item="one">
            <foreach  name="one.secNav" item="two">
       				  <a href="{:U($two['secLink'])}" target="main" title="{$two.secTitle}">{$two.secTitle}</a>
            </foreach>
    </foreach>
<else/>

    <foreach name="subNav" item="one" key="a" >
    	<in name="a" value="$group_keys">
            <foreach  name="one.secNav" item="two" key="b">
                 <in name="b" value="$group_keys">
       				  <li><a href="{:U($two['secLink'])}" target="main" title="{$two.secTitle}">{$two.secTitle}</a></li>
                 </in>
            </foreach>
    	</in>
    </foreach>

</if>
   
        <div class="clear"></div>
    </ul>
    
    


  
</div>

<div class="content1"><div class="shuju f2">联系我们</div>
<div class="contact">
    <img src="__IMG__/logo.jpg" />
    <P>河北：0311-96877<br />辽宁：024-96877 <br />
    吉林：0431-96877　</P>
</div>
    
</div>
<div class="clear"></div>
</div>

</body>
<script>
    for(var numbsLengs=0; numbsLengs<$(".numbs li").length; numbsLengs++){
        var nowNumber = $(".numbs li").eq(numbsLengs).find("span").text();
    }
    i = 0;
    t = setInterval("addNum()",3);
    function addNum(){
        if(i<90){
            i++;
            $('canvas.process').text(i);
            drawProcess("canvas.process1","#f4b301");
            drawProcess("canvas.process2","#8dbc44");
            drawProcess("canvas.process3","#1bc6c3");
            drawProcess("canvas.process4","#da3964");
            drawProcess("canvas.process5","#ff76bc");
			
			drawProcess("canvas.process6","#896dcf");
            drawProcess("canvas.process7","#d34927");
            drawProcess("canvas.process8","#39976a");
            drawProcess("canvas.process9","#e56c19");
            drawProcess("canvas.process10","#4e0139");
			
			drawProcess("canvas.process11","#c1004f");
            drawProcess("canvas.process12","#7200ad");
			
			drawProcess("canvas.process13","#006ac0");
            drawProcess("canvas.process14","#001f4e");
            drawProcess("canvas.process15","#018287");
            drawProcess("canvas.process16","#004d5f");
            drawProcess("canvas.process17","#189900");
      
        }else{
            clearInterval(t);
        }
    }

    function drawProcess(a,f) {
        $(a).each(function() {
            var text = $(this).text();
            var process = text.substring(0, text.length-1);
            var canvas = this;
            var context = canvas.getContext('2d');
            context.clearRect(0, 0, 124, 124);
            context.beginPath();
            context.moveTo(58, 58);
            context.arc(58, 58, 58, 0, Math.PI * 2, false);
            context.closePath();
            context.fillStyle = '#fff';
            context.fill();
            context.beginPath();
            context.moveTo(58, 58);
            context.arc(58, 58, 58, 0, Math.PI * 2 * process / 10, false);
            context.closePath();
            context.fillStyle = '#e0e0e0';
            context.fill();
            context.beginPath();
            context.moveTo(58, 58);
            context.arc(58, 58, 50, 0, Math.PI * 2, true);
            context.closePath();
            context.fillStyle = f;
            context.fill();
           // context.beginPath();
            //context.arc(62, 62, 55, 0, Math.PI * 2, true);
            //context.closePath();
           // context.strokeStyle = '#fff';
            //context.stroke();
            context.font = "bold 0 Arial";
            context.fillStyle = '#fff';
            context.textAlign = 'center';
            context.textBaseline = 'middle';
            context.moveTo(62, 62);
            context.fillText(text, 62, 62);
        });
    }
</script>
</body>
</html>
